﻿using GraphQL.Types;
using GraphQLSample.Domain.Core;
using System;
using System.Collections.Generic;
using System.Text;

namespace GraphQLSample.Domain.Schema
{
    public class UserEventType
        : ObjectGraphType<UserEvent>
    {
        public UserEventType()
        {
            Name = nameof(UserEvent);
            Description = "";

            Field(t => t.Id);
            Field(t => t.Name);
        }
    }
}
